<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../css/aui.css">
    <link rel="stylesheet" type="text/css" href="../../css/common.css">
</head>

<body>
    <div class="invitation-top">
        <header class="aui-bar aui-bar-nav">
            <a class="aui-pull-left" onclick="api.closeWin()"><span class="aui-iconfont aui-icon-left"></span></a>
            <div class="aui-title">邀请好友</div>
        </header>
        <div class="aui-slide-node aui-slide-node-middle aui-slide-node-center">
            <div class="aui-slide-node bg-dark">
                <img src="../../image/timg.jpg">
            </div>
        </div>


        <!-- <div style="text-align:center;">
            <span class="aui-btn">更多分享方式</span>
        </div> -->

        <div class="invitation-link" style="text-align:center;">
            <h2 style="font-weight:bold;margin-top:5px;margin-bottom:5px;">邀请规则</h2>
            <div class="warning">
                <ul>
                    <li>1.通过您的推广链接或者二维码成功注册芒客会员</li>
                    <li>2.您的好友购物获得返利后，您将额外获得芒客赠送的奖励为：好友返利额的25%（次数不限，奖励不封顶）</li>
                    <li>3.当好友通过您的邀请链接访问芒客网后，只要TA在1个小时内注册，均为有效</li>
                </ul>
            </div>
            <div class="linkout" onclick="share1();">
              链接推广
            </div>
        </div>
        <div class="qr-box">
          <img src="../../image/qr.png" class="qr-img">
          <div class="qr-text">我是您的邀请二维码,分享给她或他来加入芒客返利,打造独属于您的财富通道吧！<span style="padding-left:70px;color:#ffbc8f;" onclick="share();"><u>立即分享></u></span></div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript">
    apiready = function(){
        shareaction = api.require('shareAction');

        id = $api.getStorage('uid');
    }

    function share1(){
        shareaction.share({
            text:'购物省钱，推广赚钱，免费注册还送500集分宝，购物即享受最高50%的返利，并有区块链属性的芒客币相送，社交，游戏即将上线，赶紧注册吧！ http://www.mk517.com'
        });
    }

    function share(){
        shareaction.share({
            text:'购物省钱，推广赚钱，免费注册还送500集分宝，购物即享受最高50%的返利，并有区块链属性的芒客币相送，社交，游戏即将上线，赶紧注册吧！ http://www.mk517.com'
        });
    }
</script>
</html>
